{% extends "base.html" %}

{% block title %}{{ block.super }} - My Friends&#146; Feeds{% endblock %}
{% block header %}My Friends&#146; Feeds{% endblock %}

{% block content %}
{% if has_feeds %}
    <table>
        <tr>
            <th>Friend</th>
            <th>Feed Item</th>
        </tr>
        {% for item in feeditem_list %}
            <tr class="{% cycle odd,even %}">
                <td>{{ item.author.get_display_name }}</td>
                <td><a href="{{ item.link }}">{{ item.content|safe }}</a></td>
            </tr>
        {% endfor %}
    </table>
{% else %}
    <p>You do not have any feeds in the system.  Please check your <a href="{% url sreg_friend_list %}">list of friends</a> to make sure that you have enough entered into the system to start receiving feeds.</p>
{% endif %}
{% endblock %}